﻿namespace jzgl.Windows
{
    using System;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Drawing;
    using System.Windows.Forms;

    public class About : Form
    {
        private Button button1;
        private IContainer components = null;
        private GroupBox groupBox1;
        private Label label1;
        private Label label2;
        private Label label3;
        private Label label4;
        private Label label5;
        private Label label6;
        private LinkLabel linkLabel1;

        public About()
        {
            this.InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            try
            {
                base.Dispose();
            }
            catch (Exception)
            {
            }
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            this.groupBox1 = new GroupBox();
            this.linkLabel1 = new LinkLabel();
            this.label6 = new Label();
            this.label5 = new Label();
            this.label4 = new Label();
            this.label3 = new Label();
            this.label2 = new Label();
            this.label1 = new Label();
            this.button1 = new Button();
            this.groupBox1.SuspendLayout();
            base.SuspendLayout();
            this.groupBox1.Controls.Add(this.linkLabel1);
            this.groupBox1.Controls.Add(this.label6);
            this.groupBox1.Controls.Add(this.label5);
            this.groupBox1.Controls.Add(this.label4);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Location = new Point(2, -5);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new Size(0x158, 0xae);
            this.groupBox1.TabIndex = 0;
            this.groupBox1.TabStop = false;
            this.linkLabel1.AutoSize = true;
            this.linkLabel1.Location = new Point(0x89, 140);
            this.linkLabel1.Name = "linkLabel1";
            this.linkLabel1.Size = new Size(0x89, 12);
            this.linkLabel1.TabIndex = 6;
            this.linkLabel1.TabStop = true;
            this.linkLabel1.Text = "Http://www.zxdsoft.com";
            this.linkLabel1.LinkClicked += new LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
            this.label6.AutoSize = true;
            this.label6.Location = new Point(0x87, 0x6d);
            this.label6.Name = "label6";
            this.label6.Size = new Size(0x53, 12);
            this.label6.TabIndex = 5;
            this.label6.Text = "0532-86767782";
            this.label5.AutoSize = true;
            this.label5.Location = new Point(0x85, 0x49);
            this.label5.Name = "label5";
            this.label5.Size = new Size(0xa1, 12);
            this.label5.TabIndex = 4;
            this.label5.Text = "长春绿意软件科技有限公司";
            this.label4.AutoSize = true;
            this.label4.Location = new Point(0x3d, 140);
            this.label4.Name = "label4";
            this.label4.Size = new Size(0x41, 12);
            this.label4.TabIndex = 3;
            this.label4.Text = "公司网址：";
            this.label3.AutoSize = true;
            this.label3.Location = new Point(0x3d, 110);
            this.label3.Name = "label3";
            this.label3.Size = new Size(0x41, 12);
            this.label3.TabIndex = 2;
            this.label3.Text = "联系电话：";
            this.label2.AutoSize = true;
            this.label2.Location = new Point(0x3d, 0x49);
            this.label2.Name = "label2";
            this.label2.Size = new Size(0x41, 12);
            this.label2.TabIndex = 1;
            this.label2.Text = "版权所有：";
            this.label1.AutoSize = true;
            this.label1.Font = new Font("宋体", 12f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.label1.Location = new Point(0x43, 0x1c);
            this.label1.Name = "label1";
            this.label1.Size = new Size(200, 0x10);
            this.label1.TabIndex = 0;
            this.label1.Text = "设计家装管理系统(V1.0)";
            this.button1.Location = new Point(260, 0xaf);
            this.button1.Name = "button1";
            this.button1.Size = new Size(0x4b, 0x17);
            this.button1.TabIndex = 1;
            this.button1.Text = "关闭";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new EventHandler(this.button1_Click);
            base.AutoScaleDimensions = new SizeF(6f, 12f);
//base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(0x15b, 0xcc);
            base.Controls.Add(this.button1);
            base.Controls.Add(this.groupBox1);
            base.FormBorderStyle = FormBorderStyle.FixedSingle;
            base.MaximizeBox = false;
            base.MinimizeBox = false;
            base.Name = "About";
            base.ShowIcon = false;
            base.ShowInTaskbar = false;
            base.StartPosition = FormStartPosition.CenterScreen;
            this.Text = "关于...";
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            base.ResumeLayout(false);
        }

        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            try
            {
                Process process = new Process();
                process.StartInfo.FileName = "iexplore.exe";
                process.StartInfo.Arguments = "http://www.zxdsoft.com";
                process.Start();
            }
            catch (Exception)
            {
            }
        }
    }
}

